#include "factory.h"

Product::~Product()
{

}

Product::Product()
{

}


ConcreteProduct::~ConcreteProduct()
{

}

ConcreteProduct::ConcreteProduct()
{
    cout << "ConcreteProduct..." << endl;
}


Factory::Factory()
{

}

Factory::~Factory()
{

}


ConcreteFactory::ConcreteFactory()
{
    cout << "ConcreteFactory..." << endl;
}

ConcreteFactory::~ConcreteFactory()
{

}

Product *ConcreteFactory::CreateProduct()
{
    return new ConcreteProduct();
}
